#coding=utf-8
import re

'''
' [多行]2.7.5-1 文件长度限制（1000行）
'''
def mzcc_udrule_mul2_7_5__1(bufferItem, lineContext):

    if None == bufferItem.userDefineInfo:
        bufferItem.userDefineInfo = 1;
        #print "111", curLineNum, bufferItem.userDefineInfo;
        return 2;

    if len(lineContext.curNspLine) <= 2:
        bufferItem.userDefineInfo = None;
        #print "222", curLineNum, bufferItem.userDefineInfo;
        return 0;

    bufferItem.userDefineInfo += 1;
    if bufferItem.userDefineInfo > 19:
        bufferItem.lineNum = lineContext.curLineNum;
        bufferItem.userDefineInfo = None;
        #print "333", curLineNum, bufferItem.userDefineInfo;
        return 1;

    return 2;
